package com.yanyq.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author yanyq
 * @date 2021-09-15 20:17:12
 */
@Component
@ConfigurationProperties(prefix = "yanyq.hello")
public class HelloProperties {
    private String hi;

    public String getHi() {
        return hi;
    }

    public void setHi(String hi) {
        this.hi = hi;
    }
}
